package com.ysd.shopcar.utils;

import java.util.List;

public class StringUtil {
    public static boolean isBlank(String str){
        return (str == null || "".equals(str)) ? true : false;
    }
    //判断List集合不为null
    public static boolean isNotNullOrZeroElem(List<?> object) {
    	if (object == null || object.size() == 0) {
			return false;
		}
		return true;
    }
    
    //判断字符串不为null
    public static boolean isNotNullOrEmpty(String str) {
    	if(str != null && str != "") {
    		return true;
    	}
    	return false;
    }
    
}
